package cn.iocoder.yudao.module.scrm.controller.admin.invoice.vo;

import cn.iocoder.yudao.module.scrm.controller.admin.commom.vo.FileInfoVO;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 发票分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InvoicePageReqVO extends PageParam {

    @Schema(description = "订单号", example = "14738")
    private Long orderId;

    @Schema(description = "发票编-->订单编号", example = "14738")
    private String no;

    @Schema(description = "客户编号", example = "11871")
    private Long customerId;

    @Schema(description = "合同编号", example = "28282")
    private Long contractId;

    @Schema(description = "负责人编号", example = "7485")
    private List<String> ownerUserId;

    @Schema(description = "发票类型", example = "2")
    private Integer invoiceType;

    @Schema(description = "出票公司")
    private String ticketCompany;

    @Schema(description = "公司全称", example = "张三")
    private String companyName;

    @Schema(description = "纳税人识别号")
    private String taxNumber;

    @Schema(description = "注册地址")
    private String address;

    @Schema(description = "企业电话")
    private String phoneNumber;

    @Schema(description = "客户对公账户", example = "31814")
    private String account;

    @Schema(description = "开票项目名称", example = "张三")
    private String projectName;

    @Schema(description = "开票金额", example = "21492")
    private BigDecimal price;

    @Schema(description = "会议（峰会）场次")
    private String meetingVenue;

    @Schema(description = "邀约人")
    private String inviter;

    @Schema(description = "是否报课")
    private String enroll;

    @Schema(description = "接收发票手机号码")
    private String acceptPhone;

    @Schema(description = "接收电子发票邮箱")
    private String acceptEmail;

    @Schema(description = "附件信息")
    private List<FileInfoVO> attachment;

    @Schema(description = "图片-附件信息")
    private List<FileInfoVO> pictureAttachment;

    @Schema(description = "工作流编号", example = "6450")
    private Long processInstanceId;

    @Schema(description = "审批状态", example = "2")
    private Integer auditStatus;

    @Schema(description = "备注信息", example = "你说的对")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}